QT       += core gui
QT       += qmqtt
QT       += sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    datatran.cpp \
    main.cpp \
    mainwindow317.cpp \
    mqttfx.cpp \
    mysqlqt.cpp \
    qmqttsen.cpp \
    regwindows.cpp \
    sensor.cpp \
    sensordata.cpp \
    sensorsetting.cpp \
    showdata.cpp

HEADERS += \
    datatran.h \
    mainwindow317.h \
    mqttfx.h \
    mysqlqt.h \
    qmqttsen.h \
    regwindows.h \
    sensor.h \
    sensordata.h \
    sensorsetting.h \
    showdata.h

FORMS += \
    mainwindow317.ui \
    qmqttsen.ui \
    regwindows.ui \
    sensorsetting.ui \
    showdata.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
